This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.
This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.
The list of the themes | Global methods by category | Global methods by name | The list of the classes | The list of the controls |
CallDebugger | ||||
global method, Debugger | So, 28. Apr 2002 | |||
Mac OS Classic: Works | Mac OS Carbon: not tested, but should work. | Windows: not tested, but should work. | ||
Function:
Enters the debugger. | ||||
Example:
Debug | ||||
Notes:
The plugin calls a system function to activate a debugger. Not tested for Win and Mac OS X because I don't have a debugger for these. | ||||
DebuggerName as string | ||||
global method, Debugger | So, 28. Apr 2002 | |||
Mac OS Classic: Works | Mac OS Carbon: returns allways "" | Windows: returns allways "" | ||
Function:
Returns the name of the installed debugger. | ||||
Example:
if DebuggerPresent then msgbox "There is a debugger installed on this Mac!" end if | ||||
Notes:
This function will return "MacsBug" or "tmon", the only debuggers I know. | ||||
DebuggerPresent as boolean | ||||
global method, Debugger | Sa, 27. Jul 2002 | |||
Mac OS Classic: Works | Mac OS Carbon: returns allways false | Windows: returns allways false | ||
Function:
Looks whether a debugger is installed. | ||||
Example:
if DebuggerPresent then msgbox "There is a debugger installed on this Mac!" end if | ||||
DebugMessage(message as string) | ||||
global method, Debugger | Mo, 17. Jun 2002 | |||
Mac OS Classic: Works | Mac OS Carbon: Works. | Windows: Works. | ||
Function:
Send a string to the debugger console. | ||||
Example:
DebugMessage "Error in module Calculation in method CalcSum: Division by 0" | ||||
Notes:
Calling Debug with a string argument will immediately send the string to the DCon console (when installed under Mac OS) or to the Windows debug output. To view the output under Mac OS, you need to install DCon, which can be purchased from <http://www.devdepot.com>. Under Windows, you can use the free tool "DebugView", available on <http://www.sysinternals.com>. For Mac OS X, simply use the application console in your Utilities folder. This function will do nothing if you don't call DebugEnable first. On Mac OS X you can also simply try this: declare sub DebugStr lib "CarbonLib" (s as pstring) DebugStr "Hello" | ||||
DebugMessageEnable(active as boolean) | ||||
global method, Debugger | So, 28. Apr 2002 | |||
Mac OS Classic: Works. | Mac OS Carbon: Works. | Windows: Works. | ||
Function:
Enables the DebugMessage(string) function. | ||||
Example:
DebugMessageEnable true | ||||
RedirectDebugMessagesToFile(path as string) | ||||
global method, Debugger | So, 28. Apr 2002 | |||
Mac OS Classic: not tested | Mac OS Carbon: does nothing | Windows: does nothing | ||
Function:
Open a file to write all debugmessages into the file instead of to the debugging console. | ||||
Example:
Debug | ||||
Notes:
The plugin calls a function of the Dcon Library. |
Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.